// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import Router from 'vue-router'
import VueResource from 'vue-resource'
import VueClipboards from 'vue-clipboards'
import WechatPlugin from './helpers/wechat'
import FastClick from 'fastclick'
import Vuex from 'vuex'

FastClick.attach(document.body)

import router from './router'

Vue.config.productionTip = false

Vue.use(Vuex)
Vue.use(VueResource)
Vue.use(Router)
Vue.use(WechatPlugin)
Vue.use(VueClipboards)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
